<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="caterpillar" tagdir="/WEB-INF/tags" %>
<%@taglib prefix="spring" 
                 uri="http://www.springframework.org/tags"%>

<caterpillar:header/>
    <spring:bind path="command.*"> 
        <font color="red">
            <b>${status.errorMessage}</b>
        </font><br> 
    </spring:bind>
 <form method='post' action='register.do'>
 <table bgcolor=#cccccc>
   <tr>
     <td>邮件地址：</td>
     <spring:bind path='command.email'>
     <td><input type='text' name='${status.expression}' 
                value='${status.value}' size='30' 
                maxlength='100'></td></tr>
     </spring:bind>
   <tr>
     <td>名称（最大16字符）：</td>
     <spring:bind path='command.username'>
     <td valign='top'><input type='text' name='${status.expression}' 
                             value='${status.value}'
                             size='16' maxlength='16'></td></tr>
     </spring:bind>                     
   <tr>
     <td>密码（6到16字符）：</td>
     <spring:bind path='command.passwd'>
     <td valign='top'><input type='password' name='${status.expression}'
                     size='16' maxlength='16'></td></tr>
     </spring:bind>                     
   <tr>
     <td>确认密码：</td>
     <spring:bind path='command.passwd2'>
     <td><input type='password' name='${status.expression}' 
                size='16' maxlength='16'></td></tr>
     </spring:bind>
   <tr>
     <td colspan='2' align='center'>
     <input type='submit' value='注册'></td></tr>
 </table></form>
<caterpillar:footer/>
